<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>ExtTop - Desktop Sample App</title>

    <link rel="stylesheet" type="text/css" href="../../resources/css/ext-all.css" />
    <link rel="stylesheet" type="text/css" href="css/desktop.css" />
    <link rel="stylesheet" type="text/css" href="Ext.ux.IconManager/IconsCss.css" />

    <!-- GC -->
 	<!-- LIBS -->
 	<script type="text/javascript" src="../../adapter/ext/ext-base.js"></script>
 	<!-- ENDLIBS -->

    <script type="text/javascript" src="../../ext-all-debug.js"></script>

    <!-- DESKTOP -->
    <script type="text/javascript" src="js/StartMenu.js"></script>
    <script type="text/javascript" src="js/TaskBar.js"></script>
    <script type="text/javascript" src="js/Desktop.js"></script>
    <script type="text/javascript" src="js/App.js"></script>
    <script type="text/javascript" src="js/Module.js"></script>
	<script type="text/javascript" src="Ext.ux.IconManager/utils.js"></script>
	<script type="text/javascript" src="Ext.ux.IconManager/CookieStateProvider.js"></script>
	<script type="text/javascript" src="Ext.ux.IconManager/Ext.ux.IconManager.js"></script>
    <script type="text/javascript" src="sample.js"></script>
</head>
<body scroll="no">

<div id="x-desktop">
    <a href="http://extjs.com" target="_blank" style="margin:5px; float:right;"><img src="images/powered.gif" /></a>
	<div id="clear_cache_button"></div>
    <dl id="x-shortcuts">
        <dt id="grid-win-shortcut">
            <a href="#"><img src="images/s.gif" />
            <div>Grid Window</div></a>
        </dt>
        <dt id="acc-win-shortcut">
            <a href="#"><img src="images/s.gif" />
            <div>Accordion Window</div></a>
        </dt>
    </dl>
</div>

<div id="ux-taskbar">
	<div id="ux-taskbar-start"></div>
	<div id="ux-taskbuttons-panel"></div>
	<div class="x-clear"></div>
</div>
<script language="JavaScript">
	Ext.onReady(function(){
		
		new Ext.ux.Desktop.IconsManager({
			desktop: MyDesktop,			
			stateManager: new Ext.ux.Desktop.IconsStateProvider({
				provider: new Ext.state.CookieProvider({
			    	expires: new Date(new Date().getTime()+(1000*60*20)),
					path: "/stas/ext/examples/idesktop/desktop_.html"
			   	})
			})
		});		
	});
</script>
</body>
</html>
